export const tableOptionViewrz = {
  refreshBtn:false,
  columnBtn:false,
  cancelBtnText:"删除",
  addBtn:false,
  editBtn:false,
  menu:false,
  column: [{
    "type": "input",
    "label": "卡号",
    "prop": "cardOrder",
    cell: true,
  }, {
    "type": "input",
    "label": "类型",
    "prop": "ticketType",
    cell: true,
    hide:true,
  }]
}

export const tableOptionViewts = {
  refreshBtn:false,
  columnBtn:false,
  cancelBtnText:"删除",
  addBtn:false,
  editBtn:false,
  menu:false,
  column: [{
    "type": "input",
    "label": "卡号",
    "prop": "cardOrder",
    cell: true,
  }, {
    "type": "input",
    "label": "类型",
    "prop": "ticketType",
    cell: true,
    hide:true,
  }]
}

export const tableOptionViewyj = {
  refreshBtn:false,
  columnBtn:false,
  cancelBtnText:"删除",
  addBtn:false,
  editBtn:false,
  menu:false,
  column: [{
    "type": "select",
    "label": "车票名称",
    "prop": "ticketName",
    cell: true,
    dicUrl:'/support/swpmticketcardtypeparam/dict/YJZP',
    props: {
      label: 'subName',
      value: 'id'
    },
  }, {
    "type": "input",
    "label": "张数",
    "prop": "ticketNum",
    cell: true,
  }]
}

export const tableOptionViewyx = {
  refreshBtn:false,
  columnBtn:false,
  cancelBtnText:"删除",
  addBtn:false,
  editBtn:false,
  menu:false,
  column: [{
    "type": "select",
    "label": "车票名称",
    "prop": "ticketName",
    dicUrl:'/support/swpmticketcardtypeparam/dict/YXCP',
    props: {
      label: 'subName',
      value: 'subEnName'
    },
    component: 'ticket-name-select',
    params: {
      ticketAmountKey: 'ticketPrice',
      ticketCountKey: 'ticketTimes'
    },
    disabled:true,
  
  }, {
    "type": "input",
    "label": "次数",
    "prop": "ticketTimes",
    cell: true,
  },
  {
    "type": "number",
    "label": "金额",
    "prop": "ticketPrice",
	precision: 2,
    cell: true,
  }, {
    "type": "input",
    "label": "张数",
    "prop": "ticketNum",
    cell: true,
  }]
}

export const tableOptionViewyz = {
  refreshBtn:false,
  columnBtn:false,
  cancelBtnText:"删除",
  addBtn:false,
  editBtn:false,
  menu:false,
  column: [{
    "type": "select",
    "label": "车票名称",
    "prop": "ticketName",
    cell: true,
    dicUrl:'/support/swpmticketcardtypeparam/dict/YZDCP',
    props: {
      label: 'subName',
      value: 'id'
    },
  }, {
    "type": "input",
    "label": "张数",
    "prop": "ticketNum",
    cell: true,
  } ]
}
